package com.wangcang.widgetlibrary.bean;

/**
 * Created by zhangxutong .
 * Date: 16/08/28
 */

public class TagBean {
    private String tag;//所属的分类（城市的汉语拼音首字母）
	private boolean isSelected;
	private int itemCount; // 该类目下面被选中的条目的数量


	public void plus() {
		itemCount++;
	}

	public void cut() {
		itemCount--;
	}
	public int getItemCount() {
		return itemCount;
	}

	public void setItemCount(int itemCount) {
		this.itemCount = itemCount;
	}

	public boolean isSelected() {
		return isSelected;
	}

	public void setSelected(boolean selected) {
		isSelected = selected;
	}

	public TagBean(String tag, boolean isSelected) {
        this.tag = tag;
		this.isSelected = isSelected;
	}

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

}
